package org.yzz.auth.mapper;

import org.springframework.stereotype.Repository;
import org.yzz.auth.domain.Menu;
import org.yzz.base.mapper.BaseMapper;
import java.util.List;

@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> menuTree();
    List<Menu> getMenuParent();
    List<Menu> queryMenuTreeByUserId(Long id);
    void updateNameAndUrl(String name,String url);
    Menu selectMenuByName(String name);
}
